package com.znjc.device.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.znjc.common.annotation.Excel;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 【请填写功能名称】对象 iot_data_check_rule_ref
 *
 * @author zengpc
 * @date 2023-12-04
 */
@Data
public class IotDataCheckRuleRef {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 数据解析规则id
     */
    @Excel(name = "数据解析规则id")
    private Long resRuleId;

    /**
     * 数据校验id
     */
    @Excel(name = "数据校验id")
    private Long dataCheckId;

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("resRuleId", getResRuleId())
                .append("dataCheckId", getDataCheckId())
                .toString();
    }
}
